package wendyeq.iweb.blog.dao;

import java.util.Collection;
import java.util.Date;
import java.util.List;

import wendyeq.iweb.blog.pojo.Article;

public interface IArticleDAO extends IBaseDAO<Article> {

	public Article findByAlias(String alias, Date time);

	public List<Article> findByCat(int min, int max, String cat);

	public List<Article> findByArchive(int min, int max, Date date);
	/***
	 * 获取指定时间指定类别的文章列表
	 * */
	public List<Article> findByDateCategory(String category, Date date);

	public Collection<Article> saveOrUPdatebatch(List<Article> al);
	
}
